package com.sanweibook.jhook.biz.sys;

import com.sanweibook.jhook.dal.model.sys.SysRole;
import com.sanweibook.jhook.dal.page.Page;

import java.util.List;

/**
* Created by twg on 17/3/16.
*/
public interface SysRoleService {

    void delete(SysRole sysRole);

    void deleteById(Long id);

    void deletedByIds(List<Long> ids);

    SysRole get(SysRole sysRole);

    SysRole getById(Long id);

    void save(SysRole sysRole);

    void batchSave(List<SysRole> sysRole);

    void update(SysRole sysRole);

    int queryCount(SysRole sysRole);

    List<SysRole> queryAll(SysRole sysRole);

    List<SysRole> queryByIds(List<Long> ids);

    Page<SysRole> queryByPages(SysRole sysRole);
}